package com.aifund.common.dao;

import com.aifund.common.entity.FollowOrderCurrency;
import org.springframework.data.jpa.repository.JpaRepository;

public interface FollowOrderCurrencyDao extends JpaRepository<FollowOrderCurrency,Long> {

    /**
     * 查询跟单某个币种的记录
     * @param followId
     * @param followType
     * @param currency
     * @return
     */
    FollowOrderCurrency getByFollowIdAndFollowTypeAndCurrency(Long followId,int followType,String currency);

}
